cd nginx
set /p pid=<logs\nginx.pid
taskkill /PID %pid% /F /T
mkdir logs
mkdir temp
start /b nginx.exe
start http://127.0.0.1
exit
